		var locationLat;
		var locationLng;
		$( "#store" ).live( "pageinit", function() {

		    function success(pos) {
			    // Location found, show map with these coordinates
			    locationLat = pos.coords.latitude;
			    locationLng = pos.coords.longitude;
				alert("1");
		    }
		
		    function fail(error) {
			    console.log(error);
			    drawMap(defaultLatLng);  // Failed to find location, show default map
		    }
		        // Find the users current position.  Cache the location for 5 minutes, timeout after 6 seconds
		        navigator.geolocation.getCurrentPosition(success, fail, {maximumAge: 500000, enableHighAccuracy:true, timeout: 6000});

		});